﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ObjectTransposeApi.Helper
{
    /// <summary/>
    internal class ResultHelper
    {
        private bool _success;
        private object _value;

        /// <summary/>
        internal ResultHelper(
            bool success,
            object value)
        {
            this._success = success;
            this._value = value;
        }

        /// <summary/>
        internal bool Success
        {
            get { return this._success; }
        }

        /// <summary/>
        internal object Value
        {
            get { return this._value; }
        }
    }
}
